package com.haierp.model;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import com.baomidou.mybatisplus.annotations.IdType;
import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
/**
 * 采购任务
 * @author zhulu
 *
 */
public class TaskDaily implements Serializable{

	@TableId(type = IdType.AUTO)
	private Long id;
	@TableField(value = "task_title")
	private String taskTitle;
	@TableField(value = "task_desc")
	private String taskDesc;
	@TableField(value = "owner_id")
	private Long ownerId;
	@TableField(value = "buyer_id")
	private Long buyerId;
	@TableField(value = "image_url")
	private String imageUrl;
	@TableField(value = "task_start_time")
	private Date taskStartTime;
	@TableField(value = "task_end_time")
	private Date taskEndTime;
	@TableField(value = "gmt_create")
	private Date gmtCreate;
	@TableField(value = "gmt_modify")
	private Date gmtModify;
	
	private Integer status;
	
	@TableField(value = "task_order_no")
	private String taskOrderNo;//采购任务单
	
	@TableField(exist = false)
	private List<TaskDailyDetail> taskDetailList;
	
	@TableField(exist = false)
	private   String detailList;
	
	/*
	 * 任务分配者名称
	 */
	@TableField(value = "owner_name")
	private String ownerName;
	
	/*
	 * 买手名称
	 */
	@TableField(value = "buyer_name")
	private String buyerName;
	
	@TableField(value = "company_id") //所属公司id
	private Long companyId;
	@TableField(value = "if_standing")
	private Integer ifStanding;
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public String getTaskTitle() {
		return taskTitle;
	}
	public void setTaskTitle(String taskTitle) {
		this.taskTitle = taskTitle;
	}
	public String getTaskDesc() {
		return taskDesc;
	}
	public void setTaskDesc(String taskDesc) {
		this.taskDesc = taskDesc;
	}
	
	public String getImageUrl() {
		return imageUrl;
	}
	public void setImageUrl(String imageUrl) {
		this.imageUrl = imageUrl;
	}
	public Date getTaskStartTime() {
		return taskStartTime;
	}
	public void setTaskStartTime(Date taskStartTime) {
		this.taskStartTime = taskStartTime;
	}
	public Date getTaskEndTime() {
		return taskEndTime;
	}
	public void setTaskEndTime(Date taskEndTime) {
		this.taskEndTime = taskEndTime;
	}
	public Date getGmtCreate() {
		return gmtCreate;
	}
	public void setGmtCreate(Date gmtCreate) {
		this.gmtCreate = gmtCreate;
	}
	public Date getGmtModify() {
		return gmtModify;
	}
	public void setGmtModify(Date gmtModify) {
		this.gmtModify = gmtModify;
	}
	public String getTaskOrderNo() {
		return taskOrderNo;
	}
	public void setTaskOrderNo(String taskOrderNo) {
		this.taskOrderNo = taskOrderNo;
	}
	public List<TaskDailyDetail> getTaskDetailList() {
		return taskDetailList;
	}
	public void setTaskDetailList(List<TaskDailyDetail> taskDetailList) {
		this.taskDetailList = taskDetailList;
	}
	public String getDetailList() {
		return detailList;
	}
	public void setDetailList(String detailList) {
		this.detailList = detailList;
	}
	public Long getOwnerId() {
		return ownerId;
	}
	public void setOwnerId(Long ownerId) {
		this.ownerId = ownerId;
	}
	public Long getBuyerId() {
		return buyerId;
	}
	public void setBuyerId(Long buyerId) {
		this.buyerId = buyerId;
	}
	public String getOwnerName() {
		return ownerName;
	}
	public void setOwnerName(String ownerName) {
		this.ownerName = ownerName;
	}
	public String getBuyerName() {
		return buyerName;
	}
	public void setBuyerName(String buyerName) {
		this.buyerName = buyerName;
	}
	public Long getCompanyId() {
		return companyId;
	}
	public void setCompanyId(Long companyId) {
		this.companyId = companyId;
	}
	public Integer getIfStanding() {
		return ifStanding;
	}
	public void setIfStanding(Integer ifStanding) {
		this.ifStanding = ifStanding;
	}

}
